package msr.validator;

import msr.util.Message;

import org.springframework.validation.Errors;
import org.springframework.validation.ValidationUtils;

public class ProductValidator extends ExpertValidator {
	public void validate(Object tagets, Errors errors) {
		ValidationUtils.rejectIfEmptyOrWhitespace(errors, "capacity",
				"required.Capacity", Message.LOST_CAPACITY);
	}
}
